package com.seven.demo.model;

import java.util.Collections;
import java.util.List;

/**
 * 创作音乐的个人或者团队
 * @author yinbenyang
 * @create 2018-11-12 12:29
 */
public class Artist {
    private String name;
    private List<Artist> members;
    private String nationality;

    public Artist(String name, String nationality) {
        this(name, Collections.emptyList(),nationality);
    }

    public Artist(String name, List<Artist> members, String nationality) {
        this.name = name;
        this.members = members;
        this.nationality = nationality;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Artist> getMembers() {
        return members;
    }

    public void setMembers(List<Artist> members) {
        this.members = members;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }
}
